package com.yiyahui.project.erp.domain;

import java.util.Date;

import com.yiyahui.framework.aspectj.lang.annotation.Desensitized;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.aspectj.lang.enums.SensitiveTypeEnum;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "每日浏览对象")
public class YiyaDailyBrowserInfo {
    private static final long serialVersionUID = 1L;

    /** 访问时间 */
    @ApiModelProperty(value = "key")
    private String key;

    /** 用户id */
    @ApiModelProperty(value = "用户id(建档ID/患者ID)")
    @Excel(name = "用户id")
    private Long userid;

    /** 用户名 */
    @ApiModelProperty(value = "用户名")
    @Excel(name = "用户名")
    private String name;

    /** 年龄 */
    @ApiModelProperty(value = "年龄")
    @Excel(name = "年龄")
    private Integer age;

    /** 性别 */
    @ApiModelProperty(value = "性别")
    @Excel(name = "性别")
    private Integer sex;

    /** 电话1 */
    @ApiModelProperty(value = "电话1")
    @Desensitized(type=SensitiveTypeEnum.PHONE)
    private String phone1;

    /** 关系1 */
    @ApiModelProperty(value = "关系1")
    private int ownership1;

    /** 电话2 */
    @ApiModelProperty(value = "电话2")
    @Desensitized(type=SensitiveTypeEnum.PHONE)
    private String phone2;

    /** 关系2 */
    @ApiModelProperty(value = "关系2")
    private int ownership2;

    /** 访问时间 */
    @ApiModelProperty(value = "访问时间")
    @Excel(name = "访问时间")
    private Date datetime;

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone1() {
        return phone1;
    }

    public void setPhone1(String phone1) {
        this.phone1 = phone1;
    }

    public int getOwnership1() {
        return ownership1;
    }

    public void setOwnership1(int ownership1) {
        this.ownership1 = ownership1;
    }

    public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    public int getOwnership2() {
        return ownership2;
    }

    public void setOwnership2(int ownership2) {
        this.ownership2 = ownership2;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}